package com.ztk.threadbasic.excel;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.read.builder.ExcelReaderBuilder;
import com.alibaba.excel.util.StringUtils;
import com.ztk.threadbasic.excel.exception.CustomReaderExcelException;
import com.ztk.threadbasic.excel.listener.CustomReadListener;
import lombok.extern.slf4j.Slf4j;

import java.io.File;
import java.io.FileInputStream;
import java.util.List;

@Slf4j
public class EasyExcelDemo8 {
        public static void main(String[] args) throws CustomReaderExcelException{
            try {
                String fileName = "D:\\budgetMonitor.xlsx";




            } catch (Exception e) {
                log.info("excel读取异常!!!");
                log.info(e.getMessage(), e);
                throw new CustomReaderExcelException("excel读取异常!!!");
            } finally {
                log.info("excel读取结束!!!");
            }
        }

}


